From 722ec20bad64d8c69b173c163011d37ad0b55591 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 6 Jan 2022 19:27:45 +0100 Subject: chore: move Main grid to its children This way I can use full width background for some blocks. --- src/pages/thematique/[slug].tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/pages/thematique/[slug].tsx') diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx index dca8f25..fb0eda5 100644 --- a/src/pages/thematique/[slug].tsx +++ b/src/pages/thematique/[slug].tsx @@ -6,7 +6,7 @@ import { ThematicProps } from '@ts/types/taxonomies'; import { loadTranslation } from '@utils/helpers/i18n'; import { GetStaticPaths, GetStaticProps, GetStaticPropsContext } from 'next'; import { ParsedUrlQuery } from 'querystring'; -import styles from '@styles/pages/Thematic.module.scss'; +import styles from '@styles/pages/Listing.module.scss'; import { getAllThematicsSlug, getThematicBySlug, @@ -23,14 +23,17 @@ const Thematic: NextPageWithLayout = ({ thematic }) => { }; return ( -
+
-
+
{thematic.posts.length > 0 && ( -
+

{t`All posts in ${thematic.title}`}

    {getPostsList()}
-
+ )}
); -- cgit v1.2.3